import { meta } from '.';

export default [
  {
    path: 'home',
    meta: meta('首页', 'menu-home'),
    component: () => import('@/views/home/index'),
  },
  {
    path: 'news',
    meta: meta('新闻管理', 'menu-partner'),
    children: [
      {
        path: 'detail',
        meta: meta('新闻新增&编辑'),
        component: () => import('@/views/news/detail'),
      },
      { path: '', component: () => import('@/views/news/index') },
    ],
  },
];
